package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RoleModelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RoleModelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNull() {
            addCriterion("roleid is null");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNotNull() {
            addCriterion("roleid is not null");
            return (Criteria) this;
        }

        public Criteria andRoleidEqualTo(Long value) {
            addCriterion("roleid =", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotEqualTo(Long value) {
            addCriterion("roleid <>", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThan(Long value) {
            addCriterion("roleid >", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThanOrEqualTo(Long value) {
            addCriterion("roleid >=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThan(Long value) {
            addCriterion("roleid <", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThanOrEqualTo(Long value) {
            addCriterion("roleid <=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidIn(List<Long> values) {
            addCriterion("roleid in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotIn(List<Long> values) {
            addCriterion("roleid not in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidBetween(Long value1, Long value2) {
            addCriterion("roleid between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotBetween(Long value1, Long value2) {
            addCriterion("roleid not between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andModelidIsNull() {
            addCriterion("modelid is null");
            return (Criteria) this;
        }

        public Criteria andModelidIsNotNull() {
            addCriterion("modelid is not null");
            return (Criteria) this;
        }

        public Criteria andModelidEqualTo(Integer value) {
            addCriterion("modelid =", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotEqualTo(Integer value) {
            addCriterion("modelid <>", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidGreaterThan(Integer value) {
            addCriterion("modelid >", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidGreaterThanOrEqualTo(Integer value) {
            addCriterion("modelid >=", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLessThan(Integer value) {
            addCriterion("modelid <", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLessThanOrEqualTo(Integer value) {
            addCriterion("modelid <=", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidIn(List<Integer> values) {
            addCriterion("modelid in", values, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotIn(List<Integer> values) {
            addCriterion("modelid not in", values, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidBetween(Integer value1, Integer value2) {
            addCriterion("modelid between", value1, value2, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotBetween(Integer value1, Integer value2) {
            addCriterion("modelid not between", value1, value2, "modelid");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andModelnameIsNull() {
            addCriterion("modelname is null");
            return (Criteria) this;
        }

        public Criteria andModelnameIsNotNull() {
            addCriterion("modelname is not null");
            return (Criteria) this;
        }

        public Criteria andModelnameEqualTo(String value) {
            addCriterion("modelname =", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameNotEqualTo(String value) {
            addCriterion("modelname <>", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameGreaterThan(String value) {
            addCriterion("modelname >", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameGreaterThanOrEqualTo(String value) {
            addCriterion("modelname >=", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameLessThan(String value) {
            addCriterion("modelname <", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameLessThanOrEqualTo(String value) {
            addCriterion("modelname <=", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameLike(String value) {
            addCriterion("modelname like", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameNotLike(String value) {
            addCriterion("modelname not like", value, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameIn(List<String> values) {
            addCriterion("modelname in", values, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameNotIn(List<String> values) {
            addCriterion("modelname not in", values, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameBetween(String value1, String value2) {
            addCriterion("modelname between", value1, value2, "modelname");
            return (Criteria) this;
        }

        public Criteria andModelnameNotBetween(String value1, String value2) {
            addCriterion("modelname not between", value1, value2, "modelname");
            return (Criteria) this;
        }

        public Criteria andFidIsNull() {
            addCriterion("fid is null");
            return (Criteria) this;
        }

        public Criteria andFidIsNotNull() {
            addCriterion("fid is not null");
            return (Criteria) this;
        }

        public Criteria andFidEqualTo(Integer value) {
            addCriterion("fid =", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotEqualTo(Integer value) {
            addCriterion("fid <>", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThan(Integer value) {
            addCriterion("fid >", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fid >=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThan(Integer value) {
            addCriterion("fid <", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThanOrEqualTo(Integer value) {
            addCriterion("fid <=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidIn(List<Integer> values) {
            addCriterion("fid in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotIn(List<Integer> values) {
            addCriterion("fid not in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidBetween(Integer value1, Integer value2) {
            addCriterion("fid between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotBetween(Integer value1, Integer value2) {
            addCriterion("fid not between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andAdd_btnIsNull() {
            addCriterion("add_btn is null");
            return (Criteria) this;
        }

        public Criteria andAdd_btnIsNotNull() {
            addCriterion("add_btn is not null");
            return (Criteria) this;
        }

        public Criteria andAdd_btnEqualTo(Integer value) {
            addCriterion("add_btn =", value, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnNotEqualTo(Integer value) {
            addCriterion("add_btn <>", value, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnGreaterThan(Integer value) {
            addCriterion("add_btn >", value, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnGreaterThanOrEqualTo(Integer value) {
            addCriterion("add_btn >=", value, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnLessThan(Integer value) {
            addCriterion("add_btn <", value, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnLessThanOrEqualTo(Integer value) {
            addCriterion("add_btn <=", value, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnIn(List<Integer> values) {
            addCriterion("add_btn in", values, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnNotIn(List<Integer> values) {
            addCriterion("add_btn not in", values, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnBetween(Integer value1, Integer value2) {
            addCriterion("add_btn between", value1, value2, "add_btn");
            return (Criteria) this;
        }

        public Criteria andAdd_btnNotBetween(Integer value1, Integer value2) {
            addCriterion("add_btn not between", value1, value2, "add_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnIsNull() {
            addCriterion("edit_btn is null");
            return (Criteria) this;
        }

        public Criteria andEdit_btnIsNotNull() {
            addCriterion("edit_btn is not null");
            return (Criteria) this;
        }

        public Criteria andEdit_btnEqualTo(Integer value) {
            addCriterion("edit_btn =", value, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnNotEqualTo(Integer value) {
            addCriterion("edit_btn <>", value, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnGreaterThan(Integer value) {
            addCriterion("edit_btn >", value, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnGreaterThanOrEqualTo(Integer value) {
            addCriterion("edit_btn >=", value, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnLessThan(Integer value) {
            addCriterion("edit_btn <", value, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnLessThanOrEqualTo(Integer value) {
            addCriterion("edit_btn <=", value, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnIn(List<Integer> values) {
            addCriterion("edit_btn in", values, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnNotIn(List<Integer> values) {
            addCriterion("edit_btn not in", values, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnBetween(Integer value1, Integer value2) {
            addCriterion("edit_btn between", value1, value2, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andEdit_btnNotBetween(Integer value1, Integer value2) {
            addCriterion("edit_btn not between", value1, value2, "edit_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnIsNull() {
            addCriterion("del_btn is null");
            return (Criteria) this;
        }

        public Criteria andDel_btnIsNotNull() {
            addCriterion("del_btn is not null");
            return (Criteria) this;
        }

        public Criteria andDel_btnEqualTo(Integer value) {
            addCriterion("del_btn =", value, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnNotEqualTo(Integer value) {
            addCriterion("del_btn <>", value, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnGreaterThan(Integer value) {
            addCriterion("del_btn >", value, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnGreaterThanOrEqualTo(Integer value) {
            addCriterion("del_btn >=", value, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnLessThan(Integer value) {
            addCriterion("del_btn <", value, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnLessThanOrEqualTo(Integer value) {
            addCriterion("del_btn <=", value, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnIn(List<Integer> values) {
            addCriterion("del_btn in", values, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnNotIn(List<Integer> values) {
            addCriterion("del_btn not in", values, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnBetween(Integer value1, Integer value2) {
            addCriterion("del_btn between", value1, value2, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDel_btnNotBetween(Integer value1, Integer value2) {
            addCriterion("del_btn not between", value1, value2, "del_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnIsNull() {
            addCriterion("detail_btn is null");
            return (Criteria) this;
        }

        public Criteria andDetail_btnIsNotNull() {
            addCriterion("detail_btn is not null");
            return (Criteria) this;
        }

        public Criteria andDetail_btnEqualTo(Integer value) {
            addCriterion("detail_btn =", value, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnNotEqualTo(Integer value) {
            addCriterion("detail_btn <>", value, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnGreaterThan(Integer value) {
            addCriterion("detail_btn >", value, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnGreaterThanOrEqualTo(Integer value) {
            addCriterion("detail_btn >=", value, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnLessThan(Integer value) {
            addCriterion("detail_btn <", value, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnLessThanOrEqualTo(Integer value) {
            addCriterion("detail_btn <=", value, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnIn(List<Integer> values) {
            addCriterion("detail_btn in", values, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnNotIn(List<Integer> values) {
            addCriterion("detail_btn not in", values, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnBetween(Integer value1, Integer value2) {
            addCriterion("detail_btn between", value1, value2, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andDetail_btnNotBetween(Integer value1, Integer value2) {
            addCriterion("detail_btn not between", value1, value2, "detail_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnIsNull() {
            addCriterion("import_btn is null");
            return (Criteria) this;
        }

        public Criteria andImport_btnIsNotNull() {
            addCriterion("import_btn is not null");
            return (Criteria) this;
        }

        public Criteria andImport_btnEqualTo(Integer value) {
            addCriterion("import_btn =", value, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnNotEqualTo(Integer value) {
            addCriterion("import_btn <>", value, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnGreaterThan(Integer value) {
            addCriterion("import_btn >", value, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnGreaterThanOrEqualTo(Integer value) {
            addCriterion("import_btn >=", value, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnLessThan(Integer value) {
            addCriterion("import_btn <", value, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnLessThanOrEqualTo(Integer value) {
            addCriterion("import_btn <=", value, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnIn(List<Integer> values) {
            addCriterion("import_btn in", values, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnNotIn(List<Integer> values) {
            addCriterion("import_btn not in", values, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnBetween(Integer value1, Integer value2) {
            addCriterion("import_btn between", value1, value2, "import_btn");
            return (Criteria) this;
        }

        public Criteria andImport_btnNotBetween(Integer value1, Integer value2) {
            addCriterion("import_btn not between", value1, value2, "import_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnIsNull() {
            addCriterion("export_btn is null");
            return (Criteria) this;
        }

        public Criteria andExport_btnIsNotNull() {
            addCriterion("export_btn is not null");
            return (Criteria) this;
        }

        public Criteria andExport_btnEqualTo(Integer value) {
            addCriterion("export_btn =", value, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnNotEqualTo(Integer value) {
            addCriterion("export_btn <>", value, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnGreaterThan(Integer value) {
            addCriterion("export_btn >", value, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnGreaterThanOrEqualTo(Integer value) {
            addCriterion("export_btn >=", value, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnLessThan(Integer value) {
            addCriterion("export_btn <", value, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnLessThanOrEqualTo(Integer value) {
            addCriterion("export_btn <=", value, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnIn(List<Integer> values) {
            addCriterion("export_btn in", values, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnNotIn(List<Integer> values) {
            addCriterion("export_btn not in", values, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnBetween(Integer value1, Integer value2) {
            addCriterion("export_btn between", value1, value2, "export_btn");
            return (Criteria) this;
        }

        public Criteria andExport_btnNotBetween(Integer value1, Integer value2) {
            addCriterion("export_btn not between", value1, value2, "export_btn");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidIsNull() {
            addCriterion("update_adminid is null");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidIsNotNull() {
            addCriterion("update_adminid is not null");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidEqualTo(Long value) {
            addCriterion("update_adminid =", value, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidNotEqualTo(Long value) {
            addCriterion("update_adminid <>", value, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidGreaterThan(Long value) {
            addCriterion("update_adminid >", value, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidGreaterThanOrEqualTo(Long value) {
            addCriterion("update_adminid >=", value, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidLessThan(Long value) {
            addCriterion("update_adminid <", value, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidLessThanOrEqualTo(Long value) {
            addCriterion("update_adminid <=", value, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidIn(List<Long> values) {
            addCriterion("update_adminid in", values, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidNotIn(List<Long> values) {
            addCriterion("update_adminid not in", values, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidBetween(Long value1, Long value2) {
            addCriterion("update_adminid between", value1, value2, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdate_adminidNotBetween(Long value1, Long value2) {
            addCriterion("update_adminid not between", value1, value2, "update_adminid");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}